package org.anti996.lms.mapper;

import org.anti996.lms.model.Transport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.anti996.lms.model.TransportOutput;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 运单 Mapper 接口
 * </p>
 *
 * @author The Anti996 Authors
 * @since 2022-07-15
 */
@Mapper
public interface TransportMapper extends BaseMapper<Transport> {
    List<TransportOutput> findAllTransports();

    List<TransportOutput> findAllTransportsByDriver(String username);
}
